﻿#pragma once
#include "pch.h"
#include "GameDll.h"
#include "afxdialogex.h"

// DialgWgMain 对话框

class DialgWgMain : public CDialogEx
{
	DECLARE_DYNAMIC(DialgWgMain)

public:
	DialgWgMain(CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~DialgWgMain();
	virtual BOOL OnInitDialog();

	int VIPRealLevel;

	CWnd* editShow;
	CWnd* editVIP;
	CButton * svipChek;

	DWORD m_dwProcessId;

	void setVipLevelData(int vipLevel);
	int mainRead();
// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_DIALOG_WG_MAIN };
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持
	virtual void OnTimer(UINT_PTR nIDEvent);    // DDX/DDV 支持

	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedButtonDaZuo();
	afx_msg void OnBnClickedButtonOpenNpc();

	void ScanAddress(HANDLE hProcess, const char* markCode, int distance, int findMode);
	afx_msg void OnBnClickedButtonFindCode();
	afx_msg void OnBnClickedButtonLoginXiaozhang();
	afx_msg void OnBnClickedButtonpsd();
	afx_msg void OnBnClickedCheckSvip();
	afx_msg void OnBnClickedButtonVipChange();
	afx_msg void OnBnClickedButtonGoto();
	afx_msg void OnBnClickedButtonDll();
	afx_msg void OnBnClickedButtonKillPid();
};
